<script type="text/javascript" lang="javascript">
 function siteadmin_login(){
  ajx_container = 'admin_msg';
	ajx_url 		= jQuery("#<?php __e($frm_name);?>").attr("action");	
	ajx_formdata 	= jQuery("#<?php __e($frm_name);?>").serialize();
  ajx_data_type = 'json';
  call_ajax(); 
  return false;
} 
 </script>
<!-- h2 stays for breadcrumbs -->
<div id="main">
  
  <form action="<?php __e($frm_action);?>" onsubmit="return siteadmin_login();" method="post" name="<?php __e($frm_name);?>" id="<?php __e($frm_name);?>" class="frmreg" enctype="multipart/form-data">
  <input type="hidden" name="frm_token" id="frm_token" value="<?php __e($frm_token);?>" />
  <input type="hidden" name="frm_mode" id="frm_mode" value="<?php __e($frm_mode);?>" />
  <input type="hidden" name="frm_id" id="frm_id" value="<?php __e($frm_id);?>" />
  
  <h3><?php echo $cont_title; ?></h3>   
    <fieldset>
      <?php $this->load->view('admin_messages',$msg_info); ?>
      <p><label for="admin_username">Admin Username/Email:</label><input type="text" class="text-long" name="txt_username" id="txt_username" maxlength="25"/></p>
      <p><label for="admin_pwd">Admin Password:</label><input type="password" class="text-long" name="txt_pwd" id="txt_pwd" maxlength="25"/></p>
      <input type="submit" value="Submit" name="submit_login" class="button-submit" onclick="return siteadmin_login();"/> or <input type="reset" value="Cancel" class="button-submit"/> 	 
    </fieldset>
  </form>
</div>
<!-- // #main -->
		
		